// 订单管理
import request from '@/utils/request'
// 订单列表
export function orderList (data) {
  return request({
    url: '/order/queryOdrOrderList',
    method: 'post',
    data: data
  })
}

// 订单详情
export function queryOdrOrderDetails (data) {
  return request({
    url: '/order/queryOdrOrderDetails',
    method: 'post',
    data: data
  })
}
// 订单状态流转
export function statusUpdate (data) {
  return request({
    url: '/order/statusUpdate',
    method: 'post',
    data: data
  })
}
// 操作日志
export function queryOdrOrderLog (params) {
  return request({
    url: '/order/queryOdrOrderLog',
    method: 'get',
    params
  })
}
export function getProductById (params) {
  return request({
    url: '/product/getProductById',
    method: 'get',
    params
  })
}
// 评分
export function scoreList (params) {
  return request({
    url: '/score/list',
    method: 'get',
    params
  })
}
